<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>10.4</title>
</head>

<body>
    <div id="app"></div>
    <script src="./react/react.js"></script>
    <script src="./react//react-dom.js"></script>
    <script src="./react/babel.js"></script>
    <script type="text/babel">
        let arr = ['111', '2222', '3333', '444444']
        ReactDOM.render(
            <div>
                {
                    arr.map((v, i) => i > 1 ? <li key={i}>{v}</li> : '')
                }
            </div>,
            document.getElementById('app')
        )
    </script>
</body>

</html>